home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Mark Pilgrim / Sleep Deprivation 1.1 / source / sd code ƒ / ◊ notify.c next >
Encoding:
Text File  |  1994-10-30  |  1.2 KB  |  43 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        notify.c
  4.  
  5. Purpose:    This module handles drawing the correct icon during
  6.             INIT loading.
  7.  
  8. This program is free software; you can redistribute it and/or modify
  9. it under the terms of the GNU General Public License as published by
  10. the Free Software Foundation; either version 2 of the License, or
  11. (at your option) any later version.
  12.  
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. GNU General Public License for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with this program in a file named "GNU General Public License".
  20. If not, write to the Free Software Foundation, 675 Mass Ave,
  21. Cambridge, MA 02139, USA.
  22.  
  23. \**********************************************************************/
  24.  
  25. #include "notify.h"
  26. #include "show init.h"
  27. #include "sd init.h"
  28.  
  29. void StartupError(void)
  30. {
  31.     SetZone(ApplZone);
  32.     ShowBadICON();
  33.     SetZone(SysZone);
  34. }
  35.  
  36. void StartupGood(void)
  37. {
  38.     SetZone(ApplZone);
  39.     ShowGoodICON();
  40.     SetZone(SysZone);
  41.     DetachResource(initHandle);
  42. }
  43.